<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

namespace Database\Seeders;

use App\Models\Grid;
use Illuminate\Database\Seeder;

class GridSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        Grid::factory()->create([
            'type' => 1,
        ]);

        Grid::factory()->create([
            'type' => 2,
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：一片区',
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：二片区',
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：三片区',
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：四片区',
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：五片区',
        ]);

        Grid::factory()->create([
            'type' => 3,
            'title' => '居民一区：六片区',
        ]);
    }
}
